//脚本唯一关键字,通过该关键字找到对应脚本，每个脚本必须有该描述。
var v_script_id = 'authdynatest';
//脚本状态,0:该脚本不许执行，1:该脚本可以执行
var v_status = '1';

//脚本逻辑写在run语句之间
if (run){
	action.vars.put(action.HANDY_ACTION_RESPONSE,'1');//由script直接输出页面。
    	
    	var authid=262;
		
		if (action.authority.dynaIs(authid,"21","1")){
			action.out("21--1yes <br>");
		}else{
			action.out("21--1no <br>");
		}
		if (action.authority.dynaIs(authid,"21","2")){
			action.out("21--2yes <br>");
		}else{
			action.out("21--2no <br>");
		}
		if (action.authority.dynaIs(authid,"21","3")){
			action.out("21--3yes <br>");
		}else{
			action.out("21--3no <br>");
		}
		if (action.authority.dynaIs(authid,"21","4")){
			action.out("21--4yes <br>");
		}else{
			action.out("21--4no <br>");
		}
		if (action.authority.dynaIs(authid,"21","5")){
			action.out("21--5yes <br>");
		}else{
			action.out("21--5no <br>");
		}
		if (action.authority.dynaIs(authid,"21","6")){
			action.out("21--6yes <br>");
		}else{
			action.out("21--6no <br>");
		}
		if (action.authority.dynaIs(authid,"21","7")){
			action.out("21--7yes <br>");
		}else{
			action.out("21--7no <br>");
		}
		if (action.authority.dynaIs(authid,"21","8")){
			action.out("21--8yes <br>");
		}else{
			action.out("21--8no <br>");
		}
		
		
		if (action.authority.dynaIs(authid,"121","1")){
			action.out("121--1yes <br>");
		}else{
			action.out("121--1no <br>");
		}
		if (action.authority.dynaIs(authid,"121","2")){
			action.out("121--2yes <br>");
		}else{
			action.out("121--2no <br>");
		}
		if (action.authority.dynaIs(authid,"121","3")){
			action.out("121--3yes <br>");
		}else{
			action.out("121--3no <br>");
		}
		if (action.authority.dynaIs(authid,"121","4")){
			action.out("121--4yes <br>");
		}else{
			action.out("121--4no <br>");
		}
		if (action.authority.dynaIs(authid,"121","5")){
			action.out("121--5yes <br>");
		}else{
			action.out("121--5no <br>");
		}
		if (action.authority.dynaIs(authid,"121","6")){
			action.out("121--6yes <br>");
		}else{
			action.out("121--6no <br>");
		}
		if (action.authority.dynaIs(authid,"121","7")){
			action.out("121--7yes <br>");
		}else{
			action.out("121--7no <br>");
		}
		if (action.authority.dynaIs(authid,"121","8")){
			action.out("121--8yes <br>");
		}else{
			action.out("121--8no <br>");
		}
		

		var pcols = action.authority.findPcolvalues(authid);
		for (var i=0;i<pcols.size();i++){
		  action.out(pcols.get(i)+",");
		}
    
	
	
}